package com.eight.paper.admin.domain.model;

import com.eight.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用于导出、导入试题
 */
@Data
public class QuestionTemplate {

    @Excel(name = "题库章节", type = Excel.Type.ALL)
    @ApiModelProperty("题库章节")
    private String repoName;

    @Excel(name = "题型", type = Excel.Type.ALL)
    @ApiModelProperty("题型")
    private String questionType;

    @Excel(name = "标题", type = Excel.Type.ALL)
    @ApiModelProperty("标题")
    private String title;

    @Excel(name = "答案", type = Excel.Type.ALL)
    @ApiModelProperty("答案")
    private String answer;

    @Excel(name = "难度", type = Excel.Type.ALL)
    @ApiModelProperty("难度")
    private String level;

    @Excel(name = "解析", type = Excel.Type.ALL)
    @ApiModelProperty("解析")
    private String explain;

    @ApiModelProperty("小题分值")
    private BigDecimal score;

    @ApiModelProperty("考生答案")
    private String examineeAnswer;

    @ApiModelProperty("考生得分")
    private BigDecimal examineeScore;

    @ApiModelProperty("正确标志")
    private Integer correct;

}
